<div class="main-location">
    <p>您当前的位置： 送货员 > 投诉管理 > 投诉录入 </p>
    <a href="javascript:history.back();" class="back">返回</a>
</div>
<div class="container-fluid main-content">
    <div class="row">
        <div class="col-md-12">
            <!--查询条件-->
            <div class="now mb_20 pr_50">
                <span class="now_info mr440 ml_15">投诉录入</span>
            </div>
            <!--表单-->
            <form class="form-horizontal">
                <div class="form-group pr_180">
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>投诉来源：</label>
                    <div class="col-sm-4">
                        <input class="Wdate WdateH form-control"  type="text" id="startTime" onclick="WdatePicker({maxDate:'#F{$dp.$D(\'endTime\')}',dateFmt:'yyyy-MM-dd'})">
                    </div>
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>投诉时间：</label>
                    <div class="col-sm-4">
                        <input class="Wdate WdateH form-control" id="endTime" type="text" onclick="WdatePicker({minDate:'#F{$dp.$D(\'startTime\')}',dateFmt:'yyyy-MM-dd'})">
                    </div>
                </div>
                <div class="form-group pr_180">
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>内容：</label>
                    <div class="col-sm-4">
                        <textarea class="form-control textW" rows="3"></textarea>
                    </div>
                    <label class="col-sm-2 control-label pr_0">投诉处理备注：</label>
                    <div class="col-sm-4">
                        <textarea class="form-control textW" rows="3"></textarea>
                    </div>
                </div>
                <div class="form-group pr_180">
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>所在区域：</label>
                    <div class="col-sm-4">
                        <select class="form-control" name="Province" id="Province">
                            <option>==请选择===</option>
                        </select>
                    </div>
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>商户名称：</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group pr_180">
                    <label class="col-sm-2 control-label pr_0"></label>
                    <div class="col-sm-4">
                        <select class="form-control" name="City" id="City">
                            <option>==请选择===</option>
                        </select>
                    </div>
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>订单编号：</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group pr_180">
                    <label class="col-sm-2 control-label pr_0"></label>
                    <div class="col-sm-4">
                        <select class="form-control" name="Village" id="Village">
                            <option>==请选择===</option>
                        </select>
                    </div>
                </div>
                <div class="form-group pr_180">
                    <label class="col-sm-2 control-label pr_0"><font class="star">*</font>处理投诉结果：</label>
                    <label class="checkbox-inline">
                        <input type="radio" name="optionsRadiosinline" id="optionsRadios3" value="option1" checked> 选项 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="radio" name="optionsRadiosinline" id="optionsRadios4"  value="option2"> 选项 2
                    </label>
                </div>
            </form>
            <!--表格-->
            <h3 class="query_show"><span>查询结果展示</span><i></i></h3>
            <div class="table-responsive">
                <table class="table table-striped table-hover table-bordered" data-ng-init="pageChanged()">
                    <thead>
                    <tr>
                        <th class="text-center">投诉ID</th>
                        <th class="text-center">时间</th>
                        <th class="text-center">内容</th>
                        <th class="text-center">片区</th>
                        <th class="text-center">处理状态</th>
                        <th class="text-center">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr data-ng-repeat="item in userList" data-on-repeat-finish="renderTable()">
                        <th scope="row">{{$index+1}}</th>
                        <td>{{item.userName}}</td>
                        <td>{{item.staffNum}}</td>
                        <td>{{item.registerDate}}</td>
                        <td>
                            <button type="button" data-ng-click="edit($index)" class="btn btn-success btn-sm" data-has-permission='user:update'>编辑</button>
                            <button type="button" data-ng-click="del(item.id)" class="btn btn-danger btn-sm">删除</button>
                            <button type="button" data-ng-click="lock(item.id, item.isLock)" class="btn {{item.isLock==100?'btn-warning':'btn-info'}} btn-sm">{{item.isLock==100?'锁定':'启用'}}</button>
                        </td>
                    </tr>
                    <tr>
                        <th class="text-center">投诉ID</th>
                        <th class="text-center">时间</th>
                        <th class="text-center">内容</th>
                        <th class="text-center">片区</th>
                        <th class="text-center">处理状态</th>
                        <th class="text-center">操作</th>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <pagination total-items="paginationConf.totalItems" ng-model="paginationConf.currentPage" max-size="paginationConf.maxSize" first-text="第一页" previous-text="上一页" next-text="下一页" last-text="最后页" boundary-links="true" items-per-page="paginationConf.itemsPerPage" boundary-link-numbers="true" ng-change="pageChanged()"></pagination>
    </div>
</div>